package org.dromara.authcode.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 设备订购信息对象 t_device_order
 *
 * @author Miles Meng
 * @date 2025-08-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_device_order")
public class TDeviceOrder extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 购买标识主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 设备ID
     */
    private Long deviceId;

    /**
     * 商品ID
     */
    private Long goodsId;

    /**
     * 到期时间
     */
    private Date expireTime;


}
